package ngat.oss.scheduling.auctions;

public interface Auctioneer {

    /** Implementors should accept a submitted bid.
     * @throws Exception if any problem occurs during submission. This is not
     * intended to be used to reject bids, the protocol dictates that a seperate
     * RejectEvent be generated and sent asynchronously to the client at the end of
     * the auction if the bid is unacceptable. An additional use would be to reject
     * any bids for an auction (specified by auctionId) that this Auctioneer is not
     * responsible for.
     */
    public void submitBid(BidEvent be) throws Exception;


}
